@foreach($goodsClasses as $goodsClass)
<tr tr-fid="{{$goodsClass['fid']}}" tr-id="{{$goodsClass['id']}}" style="@if($goodsClass['fid']!=0) display: none @endif">
    <td align="left">{{$sign}}<span data-id="{{$goodsClass['id']}}" onclick="getSubMenu(this)"><img icon-id="{{$goodsClass['id']}}" src="@if(isset($goodsClass['childrens'])) {{asset('images/expand.png')}} @else {{asset('images/converge.png')}} @endif"></span>&nbsp;{{$goodsClass['id']}}</td>
    <td>{{$goodsClass['class_name']}}</td>
    <td>{{$goodsClass['class_info']}}</td>
    <td><a href="classification/edit_class?cid={{$goodsClass['id']}}">编辑</a>   <a style="color: red" onclick="deleteClass('{{$goodsClass['id']}}',this)">删除</a></td>
</tr>
@include('admin.goods_class_part',['goodsClasses'=>isset($goodsClass['childrens'])?$goodsClass['childrens']:[],'sign'=>$sign.'&nbsp;&nbsp;&nbsp;&nbsp;'])
@endforeach